package com.inspur.jzsxxzx.service.catalog.impl;

import com.inspur.jzsxxzx.vo.MuluzhiliItemVO;
import com.inspur.jzsxxzx.mapper.catalog.MuluzhiliItemVOMapper;
import com.inspur.jzsxxzx.service.catalog.MuluzhiliItemVOService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MuluzhiliItemVOServiceImpl implements MuluzhiliItemVOService {

    @Autowired
    private MuluzhiliItemVOMapper muluzhiliItemVOMapper;

    @Override
    public List<MuluzhiliItemVO> getAll() {
        return muluzhiliItemVOMapper.selectAll();
    }

     @Override
    public List<MuluzhiliItemVO> getByCataBasicIdAndVersion(String cataBasicId, Integer version) {
        return muluzhiliItemVOMapper.selectByCataBasicIdAndVersion(cataBasicId, version);
    }
}